import React from 'react';
import { ControlledEditorProps, TColumn } from '@/components/editable-excel-table';

export interface BaseEditorProps<C extends TColumn = TColumn> {
    value: string;
    column: C;
    rowIndex: number;
    dataIndex: string;
    onChange?: (value: string) => void;
    className?: string;
    /** 关闭编辑器 */
    onClose: ControlledEditorProps['onClose'];
}
